<html>
<head>
	<title>UGRU.NET.UA XBMC</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<script language="JavaScript" src="js/uppod_player.js"></script>
	<script language="JavaScript" src="js/swfobject.js"></script>

<style> 
	body { margin: 0px; overflow:hidden, background:#000000 }
</style>

<script type="text/javascript"> 
<!--

function closeWindow() {

  var ie7 = (document.all && !window.opera && window.XMLHttpRequest) ? true : false;  

  if (ie7) 

    {     

    //This closes a window without any prompt for IE7

    window.open('','_parent','');

    window.close();

    }

  else 

    {

    //This closes a window without any prompt for IE6

    this.focus();

    self.opener = this;

    self.close();

    }

}

-->
</script>

<script language="JavaScript"> 
	document.onkeydown = checkKeycode
	function checkKeycode(e) 
	{
		var keycode;
		if (window.event) keycode = window.event.keyCode;
		else if (e) keycode = e.which;
		if(keycode == 27 || keycode == 88)
		{
			closeWindow();
		}
		else if(keycode == 80 || keycode == 32)
		{
			if(uppodGet('myplayer','getstatus') == 1)
			{
				uppodSend('myplayer','pause');
			}
			else
			{
				uppodSend('myplayer','play');
			}
		}

	}
</script>

</head>
 
<body scroll="no" bgcolor="#ffffff"> 

<div id="myplayer"></div> 
<script type="text/javascript">
	var flashvars = {"uid":"myplayer","auto":"play","m":"video","file":"D2uWva3cio4HiJnlvlXGwJn1zS8RwUxcvBNJ4bVsfexbwaXZOaVB4twnwjyJfb4B90unO0fQ9txo4SNJD0QGiHsZ9axc4e7Rz0gWvJNHiJmnTL8lzHQc6lXRwJQH"};
	var params = {id:"myplayer",allowFullScreen:"true",allowScriptAccess:"always",wmode:"transparent",movie:"http://igru.net.ua/videoxml/flv/uppod.swf"}; 
	new swfobject.embedSWF("http://igru.net.ua/videoxml/flv/uppod.swf", "myplayer", "100%", "100%", "9.0.115", false, flashvars, params);
</script>
</body>
</html>